package com.asen.sys.domain;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 数据字典项
 *
 * @author Gary
 * @version 1.0
 * @date 2018-12-12
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class DictItem {

    /**
     * 类型
     */
    private String type;

    /**
     * 键值
     */
    private String value;

    /**
     * 标签
     */
    private String label;

    /**
     * 是否已加密
     */
    private Boolean isEncrypt;

    public DictItem(String type, String value, String label) {
        this.type = type;
        this.value = value;
        this.label = label;
    }
}
